package Chat;

import java.net.*;

public class TestIp {
	public static void main(String args[])
	{
	 try{
	      InetAddress ownIP=InetAddress.getLocalHost();
	      System.out.println("IP of my own system is := "+ownIP.getHostAddress());
	    //  InetAddress Windowsip= InetAddress.getByName("192.168.79.128");
	      //client.addClient(Windowsip, i);

	    }catch (Exception e){
	      System.out.println("Exception caught "+e.getMessage());
	    }
	}

}
